cmake_minimum_required(VERSION 2.8.3)
project(aws_robomaker_bookstore_world)

find_package(catkin REQUIRED COMPONENTS
  gazebo_ros
  turtlebot3_navigation  # required for copy of .rviz file
)

catkin_package()

install(DIRECTORY launch models worlds maps routes
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

# Copy the rviz model for easier access in RoboMaker RViz 
install(FILES ${turtlebot3_navigation_DIR}/../rviz/turtlebot3_navigation.rviz
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/rviz
  RENAME turtlebot3_navigation.rviz
)
